const path = require('path');

console.log(path.join('/a','/b','/c'));
console.log(path.resolve('/a','/b','/c'));
console.log(path.join(__dirname,'/a','/b','/c'));